home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / lib / partman / mount.d / 70bind < prev    next >
Text File  |  2008-10-29  |  218b  |  20 lines

  1. #!/bin/sh
  2. set -- $1
  3.  
  4. fs=$1
  5. mp=$2
  6. type=$3
  7. options=$4
  8. dump=$5
  9. pass=$6
  10.  
  11. case "$options" in
  12.     *bind*)
  13.     mount -o "$options" $fs /target$mp || exit 1
  14.         echo "umount /target$mp"
  15.         exit 0
  16.         ;;
  17. esac
  18.  
  19. exit 1
  20.